<?php


namespace app\index\controller;
use app\common\model\GoodsCate as GC;
use think\facade\Request;
use think\facade\View;

class Goods extends Base
{
    public function index(){
        $goods_id = Request::param('goods_id','0','intval');
        $template = GC::where('id',$goods_id)->find();

        return View::fetch('./Template/default/html/'.$template['template_list']);
    }
}